package com.fsj.admin.system.dao;


import java.util.List;
import java.util.Map;

import com.fsj.admin.system.domain.ShopWalletDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 商家钱包
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-03-14 14:41:11
 */
@Mapper
public interface ShopWalletDao {

	ShopWalletDO get(Long id);
	
	List<ShopWalletDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(ShopWalletDO shopWallet);
	
	int update(ShopWalletDO shopWallet);
	
	int remove(Long id);
	
	int batchRemove(Long[] ids);

	ShopWalletDO getShopWalletByShopId(@Param("shopId") Long shopId);
}
